package com.zatech.cgnci.project.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class ProvisionRegisterExtractDTO {

    @ApiModelProperty("准备金类型")
    @NotBlank(message = "准备金类型不允许为空")
    private String reserveTypeCode;

    @ApiModelProperty("评估月份-年")
    @NotBlank(message = "评估月份-年不允许为空")
    private String valuationYear;

    @ApiModelProperty("评估月份-月")
    @NotBlank(message = "评估月份-月不允许为空")
    private String valuationMonth;

    @ApiModelProperty("入账开始日期")
    @NotBlank(message = "入账开始日期不允许为空")
    private Date postingStartDate;

    @ApiModelProperty("入账结束日期")
    @NotBlank(message = "入账结束日期不允许为空")
    private Date postingEndDate;

    @ApiModelProperty("台账ID")
    private Long registerId;
}
